Skip to content

feat(merlin): add delivery receipts - #53

Merged
haasonsaas merged 1 commit into
mainfrom
feat/merlin-contract-receipts
Aug 5, 2026
Merged

feat(merlin): add delivery receipts#53
haasonsaas merged 1 commit into
mainfrom
feat/merlin-contract-receipts

Conversation

@haasonsaas

@haasonsaas haasonsaas commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • return a versioned Merlin receipt with canonical digest, segment ID, status, and accepted/duplicate counts
  • cover the receipt in the core and idempotency integration tests
  • document the contract in the README and OpenAPI description

Test plan

  • cargo fmt --check
  • cargo test -p corpus-core --lib
  • cargo test -p corpus-core --test merlin
  • cargo test -p corpus-server

Rollout

The response remains replay-safe and additive. Merlin will only mark a segment delivered after validating this receipt.

@haasonsaas
haasonsaas merged commit e848482 into main Aug 5, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant